package cn.demengsite.dao;


import cn.demengsite.model.PO.OrderProduct;
import cn.demengsite.model.Report;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ReportDAO {
    List<Report> getSaleReport (String dateTime);

    List<Report> getSaleReportWithBeginEnd (@Param("beginDate") String beginDate, @Param("endDate") String endDate);

    List<OrderProduct> getAllSaleRePortWithBeginEnd(@Param("beginDate") String beginDate, @Param("endDate") String endDate);
}
